package com.xb.dao;

import com.xb.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    User getUserById(@Param("id") Integer id);

    void addUser(User user);

    void updateUser(User user);

    void delUser(@Param("id") Integer id);
}